Hi Kevin, I might just have a better work-around for you. This workaround consists in using native drag events instead of "classic" drag events (see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeDragManager.html and related classes). You can see below the modified sample that doesn't have this bug anymore. Hope this proves useful, Mihai <?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="1024" height="768"> <fx:Script> <![CDATA[ import flash.desktop.NativeDragOptions; import mx.core.DragSource; import mx.events.DragEvent; import mx.events.InterDragManagerEvent; import mx.events.InterManagerRequest; import mx.managers.DragManager; import mx.managers.ISystemManager; import mx.managers.SystemManagerGlobals; protected function image1_mouseMoveHandler(event:MouseEvent):void { var dragInitiator:Image = event.currentTarget as Image; //var ds:DragSource = new DragSource(); //ds.addData(dragInitiator, "image/png"); //DragManager.doDrag(dragInitiator, ds, event, img); // Create new clipboard object var cb:Clipboard = new Clipboard(); // Add the image URL to the clipboard (you could also add the actual bitmap data, etc.) cb.setData(ClipboardFormats.URL_FORMAT, img.source, true); // Extract the actual bitmap from the image component var bmp:Bitmap = img.content as Bitmap; // Start dragging NativeDragManager.doDrag(dragInitiator, cb, bmp.bitmapData); } ]]> </fx:Script> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <mx:HDividedBox width="100%" height="100%"> <mx:HTML id="myHtml" location="http://www.adobe.com/" width="70%" height="100%" /> <s:VGroup width="30%" id="myPanel"> <s:TextInput id="textInput" /> <s:Label width="100%" text="On startup you can drag the image below. Click on a hyperlink within the HTML widget and you can no longer drag the image anymore." /> <mx:Image id="img" source="http://www.adobe.com/homepage/include/style/default/SiteHeader/logo.png" mouseMove="image1_mouseMoveHandler(event)"/> </s:VGroup> </mx:HDividedBox> </s:WindowedApplication>
... View more